import Taro from '@tarojs/taro-rn';
import React from 'react';
import { Component } from "@tarojs/taro-rn";
import { View, Image } from "@tarojs/components-rn";
import page4StyleSheet from "./page4_styles";
import icon_34 from '../../assets/img/icon_34.png';
import icon_35 from '../../assets/img/icon_35.png';
import icon_36 from '../../assets/img/icon_36.png';
import { getRuntime } from "../../utils/common";
// 工商服务中心-首页
var _styleSheet = page4StyleSheet;
let Page4 = class Page4 extends Component {
  constructor() {
    super();
  }
  componentWillMount() {
    Taro.setNavigationBarTitle({ title: '其他服务' });
  }
  handelRouter(url = '/pages/index/index') {
    getRuntime().navigateTo(url);
  }
  onScroll() {}
  render() {
    return <View style={_styleSheet["business-other"]}>
        <View onClick={this.handelRouter.bind(this, '/pages/business/page4_water?type=4')} style={_styleSheet["business-item"]}>
          <Image src={icon_34} style={_styleSheet["business-bg"]} />
          <View style={_styleSheet["business-info"]}>
            <View style={_styleSheet["title"]}>水利安全达标</View>
            <View style={_styleSheet["desc"]}>水利安全生产标准化达标评审申请</View>
            <View style={[_styleSheet["btn"], _styleSheet["btn1"]]}>立即办理></View>
          </View>
        </View>

        <View onClick={this.handelRouter.bind(this, '/pages/business/page4_water?type=5')} style={_styleSheet["business-item"]}>
          <Image src={icon_35} style={_styleSheet["business-bg"]} />
          <View style={_styleSheet["business-info"]}>
            <View style={_styleSheet["title"]}>水利信用评级</View>
            <View style={_styleSheet["desc"]}>水利建设市场主体信用信息申报</View>
            <View style={[_styleSheet["btn"], _styleSheet["btn2"]]}>立即办理></View>
          </View>
        </View>

        <View onClick={this.handelRouter.bind(this, '/pages/business/page4_water?type=6')} style={_styleSheet["business-item"]}>
          <Image src={icon_36} style={_styleSheet["business-bg"]} />
          <View style={_styleSheet["business-info"]}>
            <View style={_styleSheet["title-en"]}>公路安全达标</View>
            <View style={_styleSheet["desc"]}>公路施工建设安全生产标准化</View>
            <View style={[_styleSheet["btn"], _styleSheet["btn3"]]}>立即办理></View>
          </View>
        </View>
      </View>;
  }
};

export default Page4;